package com.jingdong.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

import com.jingdong.enity.User;

public interface UserDao {
    boolean findUserByUsername(String username) throws Exception;

    List<User> findAll() throws Exception;

    int register(User user) throws Exception;

    boolean login(String username, String password) throws Exception;


}
